This is the expected behavior when you use auto-exposition mode. You get so close to the object that it is then the only thing use to calculate exposition and as it is low lighting compare to sky the background become white. To solve this switch to a fixed exposure.