Fixed wrong rotate values, kohana works clockwise by default