Added horrible stub for fixing crashes on rotate
Changed int to one of constants