The hammer spring was probably shortened to keep the power uk legal especially if it's a .22.
Is the bolt screw that cocks the hammer screwed in enough? Compressing the valve spring in a vice may help with the retaining air without adding a firmer hammer spring.