fix bug of negative image height breaking R graphics #2900