Fix crash the ghetto way and try to fix hflip