[js-phantom] fix image size problem