Fixed rotation issues

Fixed issue #1, Icon rotation now matches orientation
Fixed mask frame size on rotation.