Fixed the haunting bug in shadow_fillpage