Bug fixes for floating point values and orientation values (portrait and landscape