Fixed a bug with image in DirectionPanel