Fix bug on firefly movement