Fixed bug where code was further down in trait editor than in the sprite code editor.