Fixed sunlight for entities. closes #11