Checks if custom width and height are greater than 0, instead of just writing null string