Setting custom frame updates custom width and height