Attempted fix for planet bug