Despite a strong quarter at the box office thanks to Tyler Perry 's " Madea Goes to Jail , " " My Bloody Valentine " and " The Haunting in Connecticut , " Lions Gate Entertainment Corp. recorded a loss of $ 28.6 million , or 25 cents a share , on revenue of $ 463.2 million , compared with a profit of $ 29.8 million in the year-earlier period .