Fixed color loading
Improved raycasting