Fixed #1599 as Brandon suggested to ignore negative values to width and height css...