fixed clipping problem on sprites