Tyler Perry’s films have often been criticised for looking flat, but here there’s a noticeable improvement.