fixed graphics bug for firefox sprites