Fixed rect possible values to double