made fixes because hardware acceleration was garbage on i pod touch