Camera keeps closing