platedetector: Fix problems with plate size

Change-Id: I6b88df31a3a8c918344619e6ba916e8e2f9dffd0