Add rotation support and proper scale support to AS