Removed statics and fixed NPC sprite position bug