Fixed a bug in the encoder where point lights were converted to ambient lights when they had no decay