bugfix
framework for fixing Gravity.RIGHT