fix player sprite creation on android