Resize whiteboard modal now optmises the dimensions for the whiteboard in all different layouts correctly