fixed disable rotation

Signed-off-by: Konctantin <gawrilyako@gmail.com>