Iphone 4 Front Facing Camera won't load?

I have just got a iphone 4 with a cracked screen, the normal camera works perfectly fine but whenever i press the icon to switch to the the front facing camera it won't load off the shutter screen. Once this has happened the only way to get it back to being able to use the normal camera is to reset the phone completely.

Is there any solutions to this problem?

Added (1). Would having the screen fixed solve this problem?

Restarting the phone will generally solve glitches like that. But if you bought a phone that was damaged (scree) obviously something happened to it for it to get that way, and it could be damaged in other ways as well.