Re-add support fragments
Fix behaviour of flashing surfaceview